package com.spring.service.impl;

import com.spring.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("UserService")
public class UserServiceImpl implements UserService {
    @Override
    public void add() {
        System.out.println("UserServiceImpl==>add()");
    }

    @Override
    public void del() {
        System.out.println("UserServiceImpl==>del()");
       // throw new RuntimeException("异常");
    }

    @Override
    public List getUser() {
        return null;
    }
}
